Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[92] Evaluation: Submission Scoring Completion #387

Merged
merged 39 commits into from
Feb 13, 2025

Conversation

cpreisinger
Copy link
Contributor

#92

@cpreisinger cpreisinger added the WIP label Feb 5, 2025
@cpreisinger cpreisinger self-assigned this Feb 5, 2025
@r-bartlett-gsa r-bartlett-gsa added this to the Sprint 02/11/25 milestone Feb 5, 2025
@r-bartlett-gsa r-bartlett-gsa linked an issue Feb 5, 2025 that may be closed by this pull request
58 tasks
…ation-submission-scoring-completion

* 'dev' of github.com:GSA/Challenge_platform:
  add some spec expectations
  codeclimate
  revert db/structure.sql changes
  remove schema_migration version 20250113162854
  remove counter_culture, update user scope
  update burger layout
  dynamic additional_action rendering
  codeclimate
  [89] submission detail review (#383)
  89 | Update submission detail view to incorporate evaluation scoring
  [71] Evaluation Score Calculation (#375)
  [368] Add table names (a11y) (#381)
  rubocop
  add counter culture gem to perform a counter cache count on active submissions
  working except for counter cache
  89 | Hide Evaluate button if evaluator has recused themselves
  89 | Add functionality to open submission materials only in a new tab from submission details
  89 | Add phase for back link
  89 | Add show route for evaluator submission detail view
…ation-submission-scoring-completion

* 'dev' of github.com:GSA/Challenge_platform:
  [344] Enforce uniqueness of evaluator submission assignments. (#384)
…ation-submission-scoring-completion

* 'dev' of github.com:GSA/Challenge_platform: (24 commits)
  Bump rubocop from 1.70.0 to 1.71.2 (#390)
  Bump rubocop-rails from 2.28.0 to 2.29.1
  Bump selenium-webdriver from 4.27.0 to 4.28.0 (#371)
  Bump rubocop-performance from 1.23.0 to 1.23.1 (#366)
  Bump rubocop-rspec from 3.3.0 to 3.4.0 (#374)
  Bump undici from 6.20.1 to 6.21.1 (#389)
  Update Accept header
  codeclimate
  code climate
  codeClimate
  91 | Remove handle outside click behavior
  91 | Update recusal structure for new and existing evaluations
  fix spec
  91 | Update recusal with evaluation scoring changes
  89 | Update submission detail view to incorporate evaluation scoring
  91 | Update recusal modal to use shared ModalController
  91 | Check successful recusal first
  91 | Add recusal button/modal to evaluation form in evaluator submission details
  91 | Add translations for recusal success/failure
  91 | Add functionality to recuse + tests
  ...
…ation-submission-scoring-completion

* 'dev' of github.com:GSA/Challenge_platform:
  fixes a broken link on evaluator_submission_assignments page (#392)
@cpreisinger cpreisinger force-pushed the 92/evaluation-submission-scoring-completion branch from ef3ff2a to 865cba7 Compare February 10, 2025 15:23
Copy link
Contributor

@stepchud stepchud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Save as draft isn't working anymore. It's marking it completed and showing me the completed confirmation message (or showing validation errors if the scores are missing). I think it's because of how the confirmation modal is rendered inside the form and that is adding a hidden mark_complete attribute.
There are some request specs that are supposed to test save_draft behavior but it's not failing.

app/controllers/evaluations_controller.rb Outdated Show resolved Hide resolved
app/controllers/evaluations_controller.rb Outdated Show resolved Hide resolved
…ation-submission-scoring-completion

* 'dev' of github.com:GSA/Challenge_platform:
  exclude deleted submissions from evaluator evaluation status counts (#411)
…ation-submission-scoring-completion

* 'dev' of github.com:GSA/Challenge_platform:
  code climate
  code climate
  342 | Extract evaluator and invitation removal into a service
  342 | Deletes evaluator submission assignments and evaluation records when evaluator is removed from a challenge phase
@stepchud
Copy link
Contributor

Draft evaluations are working now. As far as the Service layer goes, I'm not strongly opinionated. The goals for a service object are to reduce complexity in the controller by encapsulating business logic in a separate class. I shared this video with Emma a few months ago. I think it gives a good overview about service objects to help get started. Let's pair on it after the meetings tomorrow and come up with a plan.

@stepchud stepchud removed the WIP label Feb 13, 2025
Copy link
Contributor

@stepchud stepchud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

live scoring updates, drafts & completed submissions, confirmation pages, read-only completed views are all working. just wanted to check on the rubocop rule but not a blocker for merging.

@cpreisinger cpreisinger merged commit 8fe0943 into dev Feb 13, 2025
11 checks passed
@cpreisinger cpreisinger deleted the 92/evaluation-submission-scoring-completion branch February 13, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Evaluation: Submission Scoring Completion
3 participants